Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |api_root_url

work/run::|api_root_url


Usage

|api_root_url()

Return

↴ Option<string>


Return the address of api.melodium.tech, as the run reaches it.

It is MELODIUM_API_URL, as api.melodium.tech workers are configured, such as https://api.melodium.tech/0.1, and none elsewhere. Requests to it carry the token of the run, api-run:token, in their secret headers, such as to read artifacts at their stable addresses (<address>/artifacts/<run>/<name>).

The address is not a credential.